package com.my.basic.enums;

/**
 * @author: marshal
 * @date: 2022-08-12 16:45
 */
public enum GenderEnum {
    FEMALE(0, "女性"),
    MALE(1, "男性");

    private final int code;
    private final String name;

    GenderEnum(int code, String name) {
        this.code = code;
        this.name = name;
    }

    public int getCode() {
        return code;
    }

    public String getName() {
        return name;
    }
}
